/**
 * Created by user on 2018/3/29.
 */
import { NotStartActionType } from '../actions/notStartAction'
const not_start_state = {
  showTip: true
}

const NotStartState = (state = not_start_state, action) => {
  switch (action.type) {
    case NotStartActionType.toggle_tip:
      return Object.assign({}, state, {
        showTip: action.show
      })
    default:
      return state
  }
}
NotStartState._default_state = not_start_state
export default NotStartState
